package edu.fjut.se1603.yuan.entity;

import java.util.Date;

public class Account {
    private Integer id;
    private Integer petId;
    private Integer OwnerId;
    private Integer StoreId;
    private double price;
    private Date dealTime;
    private int dealType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPetId() {
        return petId;
    }

    public void setPetId(Integer petId) {
        this.petId = petId;
    }

    public Integer getOwnerId() {
        return OwnerId;
    }

    public void setOwnerId(Integer ownerId) {
        OwnerId = ownerId;
    }

    public Integer getStoreId() {
        return StoreId;
    }

    public void setStoreId(Integer storeId) {
        StoreId = storeId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public int getDealType() {
        return dealType;
    }

    public void setDealType(int dealType) {
        this.dealType = dealType;
    }

    public Account(Integer petId, Integer ownerId, Integer storeId, double price, Date dealTime, int dealType) {
        this.petId = petId;
        OwnerId = ownerId;
        StoreId = storeId;
        this.price = price;
        this.dealTime = dealTime;
        this.dealType = dealType;
    }

    public Account(Integer petId, Integer ownerId, Integer storeId, double price, int dealType) {
        this.petId = petId;
        OwnerId = ownerId;
        StoreId = storeId;
        this.price = price;
        this.dealType = dealType;
    }
}
